<extend name="Public/base" />
<block name="body">
<div class="m-tab s-tab">
	<h2 class="u-tt">配置管理</h2>
	<div class="filter">
	</div>
	<ul>
		<li class="z-crt"><a href="#">配置列表</a></li>
		<li><a href="{:U('add')}">新增配置</a></li>
	</ul>
</div>
<table class="m-table m-table-row" id="table">
	<thead class="m-table-thead s-table-thead">
		<tr>
			<th class="cola">ID</th>
			<th class="cold">名称</th>
			<th class="cold">标题</th>
			<th>说明</th>
			<th class="colb">分组</th>
			<th class="colb">类型</th>
			<th class="colb">操作</th>
		</tr>
	</thead>
	<tbody>
		<volist name="list" id="vo">
		<tr>
			<td>{$vo.id}</td>
			<td>{$vo.name}</td>
			<td>{$vo.title}</td>
			<td>{$vo.remark}</td>
			<td>{$vo.group|get_config_group}</td>
			<td>{$vo.type|get_config_type}</td>
			<td>
			<a href="{:U('edit?id='.$vo['id'])}">编辑</a>
			<a href="javascript:;" data="{$vo.id}" class="u-del-id">删除</a>
			</td>
		</tr>
		</volist>
	</tbody>
</table>
<div class="m-table-tool">
	<div class="m-page">{$_page}</div>
</div>
</block>
<block name="script">
<script>
Do.ready('base','dialog',function() {
	$('#table').duxTable({
		selectAll:'#selectAll',
		deleteUrl:"{:U('delete')}"
	});
});
</script>
</block>